﻿using Authentication.Model.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authentication.Model.Interface
{
    public interface IUserRoleProvider
    {
        IEnumerable<ApplicationAccountRule> RetrieveUserRules(Guid applicationKey, string username = "");

        ApplicationAccountRule Retrieve(Guid applicationKey, string userid, string objectid, string roleid);

        bool Delete(ApplicationAccountRule userrole);

        bool Update(ApplicationAccountRule userrole);
    }
}
